#include<stdio.h>
#define PI 3.1415926

int main(){
	float r,h;
	printf("Input the radius and height of a cylinder: ");
	scanf("%f%f",&r,&h);
	double c,s,v;
	c=2*PI*r;
	s=PI*r*r;
	v=s*h;
	printf("Bottom perimeter: %.2f\nBottom area: %.2f\nVolume: %.2f\n",c,s,v);
	return 0;
}
